From 3a8559d89c3e743b7de8fb3f509f32c4d433f4f3 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Sun, 22 Oct 2006 13:57:29 -0600 Subject: [PATCH] [IA64] sync_console in ia64_init_handler This patch fix the following issue. 1. boot xen 2. push INIT bottun 3. Nothing is printed to serial console. I add console_start_sync() into ia64_init_handler(). Then this issue is fixed. Signed-off-by: Akio Takebe Signed-off-by: Masaki Kanno --- xen/arch/ia64/linux-xen/mca.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/ia64/linux-xen/mca.c b/xen/arch/ia64/linux-xen/mca.c index 1e4a86061b..30803daced 100644 --- a/xen/arch/ia64/linux-xen/mca.c +++ b/xen/arch/ia64/linux-xen/mca.c @@ -80,6 +80,7 @@ #ifdef XEN #include #include +#include #endif #if defined(IA64_MCA_DEBUG_INFO) @@ -1240,6 +1241,7 @@ ia64_init_handler (struct pt_regs *pt, struct switch_stack *sw) */ ms = (pal_min_state_area_t *)(ia64_sal_to_os_handoff_state.pal_min_state | (6ul<<61)); #else + console_start_sync(); /* Xen virtual address in region 7. */ ms = __va((pal_min_state_area_t *)(ia64_sal_to_os_handoff_state[cpu].pal_min_state)); #endif -- 2.30.2